﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C61 RID: 3169
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NHNNJJPBOMJ : IMessage<NHNNJJPBOMJ>, IMessage, IEquatable<NHNNJJPBOMJ>, IDeepCloneable<NHNNJJPBOMJ>, IBufferMessage
	{
		// Token: 0x170027EB RID: 10219
		// (get) Token: 0x06008DAE RID: 36270 RVA: 0x00178837 File Offset: 0x00176A37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NHNNJJPBOMJ> Parser
		{
			get
			{
				return NHNNJJPBOMJ._parser;
			}
		}

		// Token: 0x170027EC RID: 10220
		// (get) Token: 0x06008DAF RID: 36271 RVA: 0x0017883E File Offset: 0x00176A3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NHNNJJPBOMJReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170027ED RID: 10221
		// (get) Token: 0x06008DB0 RID: 36272 RVA: 0x00178850 File Offset: 0x00176A50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NHNNJJPBOMJ.Descriptor;
			}
		}

		// Token: 0x06008DB1 RID: 36273 RVA: 0x00178857 File Offset: 0x00176A57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NHNNJJPBOMJ()
		{
		}

		// Token: 0x06008DB2 RID: 36274 RVA: 0x00178860 File Offset: 0x00176A60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NHNNJJPBOMJ(NHNNJJPBOMJ other) : this()
		{
			this.eCLBPHPMGIN_ = other.eCLBPHPMGIN_;
			this.fOAFPCNJNAM_ = ((other.fOAFPCNJNAM_ != null) ? other.fOAFPCNJNAM_.Clone() : null);
			this.aLPDNPDDPJC_ = other.aLPDNPDDPJC_;
			this.oPDABBNHHCG_ = ((other.oPDABBNHHCG_ != null) ? other.oPDABBNHHCG_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008DB3 RID: 36275 RVA: 0x001788D4 File Offset: 0x00176AD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NHNNJJPBOMJ Clone()
		{
			return new NHNNJJPBOMJ(this);
		}

		// Token: 0x170027EE RID: 10222
		// (get) Token: 0x06008DB4 RID: 36276 RVA: 0x001788DC File Offset: 0x00176ADC
		// (set) Token: 0x06008DB5 RID: 36277 RVA: 0x001788E4 File Offset: 0x00176AE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool ECLBPHPMGIN
		{
			get
			{
				return this.eCLBPHPMGIN_;
			}
			set
			{
				this.eCLBPHPMGIN_ = value;
			}
		}

		// Token: 0x170027EF RID: 10223
		// (get) Token: 0x06008DB6 RID: 36278 RVA: 0x001788ED File Offset: 0x00176AED
		// (set) Token: 0x06008DB7 RID: 36279 RVA: 0x001788F5 File Offset: 0x00176AF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGameCardInfo FOAFPCNJNAM
		{
			get
			{
				return this.fOAFPCNJNAM_;
			}
			set
			{
				this.fOAFPCNJNAM_ = value;
			}
		}

		// Token: 0x170027F0 RID: 10224
		// (get) Token: 0x06008DB8 RID: 36280 RVA: 0x001788FE File Offset: 0x00176AFE
		// (set) Token: 0x06008DB9 RID: 36281 RVA: 0x00178906 File Offset: 0x00176B06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ALPDNPDDPJC
		{
			get
			{
				return this.aLPDNPDDPJC_;
			}
			set
			{
				this.aLPDNPDDPJC_ = value;
			}
		}

		// Token: 0x170027F1 RID: 10225
		// (get) Token: 0x06008DBA RID: 36282 RVA: 0x0017890F File Offset: 0x00176B0F
		// (set) Token: 0x06008DBB RID: 36283 RVA: 0x00178917 File Offset: 0x00176B17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OKFGPABKEJE OPDABBNHHCG
		{
			get
			{
				return this.oPDABBNHHCG_;
			}
			set
			{
				this.oPDABBNHHCG_ = value;
			}
		}

		// Token: 0x06008DBC RID: 36284 RVA: 0x00178920 File Offset: 0x00176B20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NHNNJJPBOMJ);
		}

		// Token: 0x06008DBD RID: 36285 RVA: 0x00178930 File Offset: 0x00176B30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NHNNJJPBOMJ other)
		{
			return other != null && (other == this || (this.ECLBPHPMGIN == other.ECLBPHPMGIN && object.Equals(this.FOAFPCNJNAM, other.FOAFPCNJNAM) && this.ALPDNPDDPJC == other.ALPDNPDDPJC && object.Equals(this.OPDABBNHHCG, other.OPDABBNHHCG) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008DBE RID: 36286 RVA: 0x001789A4 File Offset: 0x00176BA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ECLBPHPMGIN)
			{
				num ^= this.ECLBPHPMGIN.GetHashCode();
			}
			if (this.fOAFPCNJNAM_ != null)
			{
				num ^= this.FOAFPCNJNAM.GetHashCode();
			}
			if (this.ALPDNPDDPJC != 0U)
			{
				num ^= this.ALPDNPDDPJC.GetHashCode();
			}
			if (this.oPDABBNHHCG_ != null)
			{
				num ^= this.OPDABBNHHCG.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008DBF RID: 36287 RVA: 0x00178A28 File Offset: 0x00176C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008DC0 RID: 36288 RVA: 0x00178A30 File Offset: 0x00176C30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008DC1 RID: 36289 RVA: 0x00178A3C File Offset: 0x00176C3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ECLBPHPMGIN)
			{
				output.WriteRawTag(8);
				output.WriteBool(this.ECLBPHPMGIN);
			}
			if (this.fOAFPCNJNAM_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.FOAFPCNJNAM);
			}
			if (this.oPDABBNHHCG_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.OPDABBNHHCG);
			}
			if (this.ALPDNPDDPJC != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.ALPDNPDDPJC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008DC2 RID: 36290 RVA: 0x00178ACC File Offset: 0x00176CCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ECLBPHPMGIN)
			{
				num += 2;
			}
			if (this.fOAFPCNJNAM_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FOAFPCNJNAM);
			}
			if (this.ALPDNPDDPJC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ALPDNPDDPJC);
			}
			if (this.oPDABBNHHCG_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.OPDABBNHHCG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008DC3 RID: 36291 RVA: 0x00178B48 File Offset: 0x00176D48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NHNNJJPBOMJ other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ECLBPHPMGIN)
			{
				this.ECLBPHPMGIN = other.ECLBPHPMGIN;
			}
			if (other.fOAFPCNJNAM_ != null)
			{
				if (this.fOAFPCNJNAM_ == null)
				{
					this.FOAFPCNJNAM = new TrainPartyGameCardInfo();
				}
				this.FOAFPCNJNAM.MergeFrom(other.FOAFPCNJNAM);
			}
			if (other.ALPDNPDDPJC != 0U)
			{
				this.ALPDNPDDPJC = other.ALPDNPDDPJC;
			}
			if (other.oPDABBNHHCG_ != null)
			{
				if (this.oPDABBNHHCG_ == null)
				{
					this.OPDABBNHHCG = new OKFGPABKEJE();
				}
				this.OPDABBNHHCG.MergeFrom(other.OPDABBNHHCG);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008DC4 RID: 36292 RVA: 0x00178BF0 File Offset: 0x00176DF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008DC5 RID: 36293 RVA: 0x00178BFC File Offset: 0x00176DFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 34U)
				{
					if (num == 8U)
					{
						this.ECLBPHPMGIN = input.ReadBool();
						continue;
					}
					if (num == 34U)
					{
						if (this.fOAFPCNJNAM_ == null)
						{
							this.FOAFPCNJNAM = new TrainPartyGameCardInfo();
						}
						input.ReadMessage(this.FOAFPCNJNAM);
						continue;
					}
				}
				else
				{
					if (num == 66U)
					{
						if (this.oPDABBNHHCG_ == null)
						{
							this.OPDABBNHHCG = new OKFGPABKEJE();
						}
						input.ReadMessage(this.OPDABBNHHCG);
						continue;
					}
					if (num == 120U)
					{
						this.ALPDNPDDPJC = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400360F RID: 13839
		private static readonly MessageParser<NHNNJJPBOMJ> _parser = new MessageParser<NHNNJJPBOMJ>(() => new NHNNJJPBOMJ());

		// Token: 0x04003610 RID: 13840
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003611 RID: 13841
		public const int ECLBPHPMGINFieldNumber = 1;

		// Token: 0x04003612 RID: 13842
		private bool eCLBPHPMGIN_;

		// Token: 0x04003613 RID: 13843
		public const int FOAFPCNJNAMFieldNumber = 4;

		// Token: 0x04003614 RID: 13844
		private TrainPartyGameCardInfo fOAFPCNJNAM_;

		// Token: 0x04003615 RID: 13845
		public const int ALPDNPDDPJCFieldNumber = 15;

		// Token: 0x04003616 RID: 13846
		private uint aLPDNPDDPJC_;

		// Token: 0x04003617 RID: 13847
		public const int OPDABBNHHCGFieldNumber = 8;

		// Token: 0x04003618 RID: 13848
		private OKFGPABKEJE oPDABBNHHCG_;
	}
}
